package com.igeek.service;

import com.igeek.dao.CustomerDao3;
import com.igeek.dao.CustomerDao4;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import javax.inject.Inject;
import javax.inject.Named;

@Component
public class CustomerService4 {
    @Inject
    @Named("customerDao4")
    private CustomerDao4 customerDao4;

    //保存业务方法
    public void save(){
        System.out.println("CustomerService4业务层被调用了。。。");
        customerDao4.save();
    }
}
